Skip to content

Conversation

darshkpatel
Copy link
Member

@darshkpatel darshkpatel commented Oct 3, 2020

I've published v0.0.1 of the remark plugin called remark-snackplayer
This is with reference to #4

I'll be opening a followup PR to fix the following issues:

  • SnackPlayers only work after refresh
  • Automatic Dark Theme Support
  • Mobile View Still loads snackplayer

@darshkpatel
Copy link
Member Author

JavaScript heap out of memory 😢

@darshkpatel darshkpatel requested a review from Simek October 3, 2020 11:40
@Simek Simek requested a review from slorber October 5, 2020 07:23
@slorber
Copy link

slorber commented Oct 6, 2020

FYI I've added the ability to reinitialize snackplayer on route change and tab change. It's a bit hacky IMHO but seems to work fine (sometimes snack iframe takes some time to init though).

Pinged Satya to see if this integration can be made easier directly inside the embedded snack js script.

@darshkpatel as I msged you in private I think it's better if we reintegrate the snackplayer temporarily as it's easier to fix issues for now. We'll figure out where this plugin should live after it works fine.

@darshkpatel
Copy link
Member Author

@slorber Done

@slorber
Copy link

slorber commented Oct 7, 2020

LGTM, but will let @Simek merge if it's fine ;)

Copy link

@Simek Simek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's merge it, it is fine for now to have this plugin as a local package . 🙂

@Simek Simek merged commit cd4d12c into dev Oct 7, 2020
Simek added a commit that referenced this pull request Oct 20, 2020
* add remark-snackplayer

* bump version

* remove legacy plugins

* Increase heap memory

* move heap fix to the deployment scripts

* Add ability to initialize snackplayer after navigation and tab changes

* add local remark-snackplayer package

* cleanup package

* Fix: dependency issues

Co-authored-by: Bartosz Kaszubowski <[email protected]>
Co-authored-by: slorber <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants